/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * ClientScreen.java
 *
 * Created on 05 29, 11, 11:03:16 AM
 */
package vera;

/**
 *
 * @author kasia
 */
public class ClientScreen extends ParentClass {

    /** Creates new form ClientScreen */
    public ClientScreen() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        m_labelCreateNewClient = new javax.swing.JLabel();
        m_labelClientCode = new javax.swing.JLabel();
        m_labelClientName = new javax.swing.JLabel();
        m_labelStatus = new javax.swing.JLabel();
        m_labelAddress = new javax.swing.JLabel();
        m_labelBillingAddress = new javax.swing.JLabel();
        m_labelContactNo = new javax.swing.JLabel();
        m_labelContactPerson = new javax.swing.JLabel();
        m_labelRetainer = new javax.swing.JLabel();
        m_textFieldClientCode = new javax.swing.JTextField();
        m_textFieldClientName = new javax.swing.JTextField();
        m_textFieldAddress = new javax.swing.JTextField();
        m_textFieldBillingAddress = new javax.swing.JTextField();
        m_textFieldContactNo = new javax.swing.JTextField();
        m_textFieldContactPerson = new javax.swing.JTextField();
        m_textFieldRetainer = new javax.swing.JTextField();
        m_buttonCreate = new javax.swing.JButton();
        m_buttonCancel = new javax.swing.JButton();
        m_labelDateCreated = new javax.swing.JLabel();
        m_comboBoxStatus = new javax.swing.JComboBox();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setName("Form"); // NOI18N

        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(vera.VERAApp.class).getContext().getResourceMap(ClientScreen.class);
        m_labelCreateNewClient.setFont(resourceMap.getFont("m_labelCreateNewClient.font")); // NOI18N
        m_labelCreateNewClient.setText(resourceMap.getString("m_labelCreateNewClient.text")); // NOI18N
        m_labelCreateNewClient.setName("m_labelCreateNewClient"); // NOI18N

        m_labelClientCode.setText(resourceMap.getString("m_labelClientCode.text")); // NOI18N
        m_labelClientCode.setName("m_labelClientCode"); // NOI18N

        m_labelClientName.setText(resourceMap.getString("m_labelClientName.text")); // NOI18N
        m_labelClientName.setName("m_labelClientName"); // NOI18N

        m_labelStatus.setText(resourceMap.getString("m_labelStatus.text")); // NOI18N
        m_labelStatus.setName("m_labelStatus"); // NOI18N

        m_labelAddress.setText(resourceMap.getString("m_labelAddress.text")); // NOI18N
        m_labelAddress.setName("m_labelAddress"); // NOI18N

        m_labelBillingAddress.setText(resourceMap.getString("m_labelBillingAddress.text")); // NOI18N
        m_labelBillingAddress.setName("m_labelBillingAddress"); // NOI18N

        m_labelContactNo.setText(resourceMap.getString("m_labelContactNo.text")); // NOI18N
        m_labelContactNo.setName("m_labelContactNo"); // NOI18N

        m_labelContactPerson.setText(resourceMap.getString("m_labelContactPerson.text")); // NOI18N
        m_labelContactPerson.setName("m_labelContactPerson"); // NOI18N

        m_labelRetainer.setText(resourceMap.getString("m_labelRetainer.text")); // NOI18N
        m_labelRetainer.setName("m_labelRetainer"); // NOI18N

        m_textFieldClientCode.setText(resourceMap.getString("m_textFieldClientCode.text")); // NOI18N
        m_textFieldClientCode.setName("m_textFieldClientCode"); // NOI18N

        m_textFieldClientName.setText(resourceMap.getString("m_textFieldClientName.text")); // NOI18N
        m_textFieldClientName.setName("m_textFieldClientName"); // NOI18N

        m_textFieldAddress.setText(resourceMap.getString("m_textFieldAddress.text")); // NOI18N
        m_textFieldAddress.setName("m_textFieldAddress"); // NOI18N

        m_textFieldBillingAddress.setText(resourceMap.getString("m_textFieldBillingAddress.text")); // NOI18N
        m_textFieldBillingAddress.setName("m_textFieldBillingAddress"); // NOI18N

        m_textFieldContactNo.setText(resourceMap.getString("m_textFieldContactNo.text")); // NOI18N
        m_textFieldContactNo.setName("m_textFieldContactNo"); // NOI18N

        m_textFieldContactPerson.setText(resourceMap.getString("m_textFieldContactPerson.text")); // NOI18N
        m_textFieldContactPerson.setName("m_textFieldContactPerson"); // NOI18N

        m_textFieldRetainer.setText(resourceMap.getString("m_textFieldRetainer.text")); // NOI18N
        m_textFieldRetainer.setName("m_textFieldRetainer"); // NOI18N

        m_buttonCreate.setText(resourceMap.getString("m_buttonCreate.text")); // NOI18N
        m_buttonCreate.setName("m_buttonCreate"); // NOI18N

        m_buttonCancel.setText(resourceMap.getString("m_buttonCancel.text")); // NOI18N
        m_buttonCancel.setName("m_buttonCancel"); // NOI18N

        m_labelDateCreated.setText(resourceMap.getString("m_labelDateCreated.text")); // NOI18N
        m_labelDateCreated.setName("m_labelDateCreated"); // NOI18N

        m_comboBoxStatus.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Active", "Not Active" }));
        m_comboBoxStatus.setName("m_comboBoxStatus"); // NOI18N

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(25, 25, 25)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                        .addComponent(m_labelDateCreated)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 649, Short.MAX_VALUE)
                        .addComponent(m_buttonCreate)
                        .addGap(30, 30, 30)
                        .addComponent(m_buttonCancel)
                        .addGap(110, 110, 110))
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(m_labelCreateNewClient)
                            .addGroup(layout.createSequentialGroup()
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(m_labelClientCode)
                                    .addComponent(m_labelClientName)
                                    .addComponent(m_labelStatus)
                                    .addComponent(m_labelAddress)
                                    .addComponent(m_labelBillingAddress)
                                    .addComponent(m_labelContactNo)
                                    .addComponent(m_labelContactPerson)
                                    .addComponent(m_labelRetainer))
                                .addGap(32, 32, 32)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(m_comboBoxStatus, javax.swing.GroupLayout.PREFERRED_SIZE, 116, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                        .addComponent(m_textFieldContactPerson)
                                        .addComponent(m_textFieldContactNo)
                                        .addComponent(m_textFieldBillingAddress)
                                        .addComponent(m_textFieldAddress)
                                        .addComponent(m_textFieldClientCode, javax.swing.GroupLayout.PREFERRED_SIZE, 115, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addComponent(m_textFieldClientName, javax.swing.GroupLayout.PREFERRED_SIZE, 435, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addComponent(m_textFieldRetainer, javax.swing.GroupLayout.PREFERRED_SIZE, 115, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                        .addContainerGap(427, Short.MAX_VALUE))))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(38, 38, 38)
                .addComponent(m_labelCreateNewClient)
                .addGap(28, 28, 28)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(m_labelClientCode)
                    .addComponent(m_textFieldClientCode, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(m_labelClientName)
                    .addComponent(m_textFieldClientName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(m_labelStatus)
                    .addComponent(m_comboBoxStatus, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(m_labelAddress)
                    .addComponent(m_textFieldAddress, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(m_labelBillingAddress)
                    .addComponent(m_textFieldBillingAddress, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(m_labelContactNo)
                    .addComponent(m_textFieldContactNo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(m_labelContactPerson)
                    .addComponent(m_textFieldContactPerson, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(m_labelRetainer)
                    .addComponent(m_textFieldRetainer, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(255, 255, 255)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(m_buttonCreate)
                    .addComponent(m_buttonCancel)
                    .addComponent(m_labelDateCreated))
                .addContainerGap(30, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {

            public void run() {
                new ClientScreen().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton m_buttonCancel;
    private javax.swing.JButton m_buttonCreate;
    private javax.swing.JComboBox m_comboBoxStatus;
    private javax.swing.JLabel m_labelAddress;
    private javax.swing.JLabel m_labelBillingAddress;
    private javax.swing.JLabel m_labelClientCode;
    private javax.swing.JLabel m_labelClientName;
    private javax.swing.JLabel m_labelContactNo;
    private javax.swing.JLabel m_labelContactPerson;
    private javax.swing.JLabel m_labelCreateNewClient;
    private javax.swing.JLabel m_labelDateCreated;
    private javax.swing.JLabel m_labelRetainer;
    private javax.swing.JLabel m_labelStatus;
    private javax.swing.JTextField m_textFieldAddress;
    private javax.swing.JTextField m_textFieldBillingAddress;
    private javax.swing.JTextField m_textFieldClientCode;
    private javax.swing.JTextField m_textFieldClientName;
    private javax.swing.JTextField m_textFieldContactNo;
    private javax.swing.JTextField m_textFieldContactPerson;
    private javax.swing.JTextField m_textFieldRetainer;
    // End of variables declaration//GEN-END:variables
}
